import Tween = Laya.Tween;
import Common from "../Common/common"
export default class flight extends Laya.Script{
	constructor(){
        super();

        Laya.timer.once(500,this,this.upward);
        Common.timeArray.push(this)
    }

   
    upward(){
        this.owner.x = -222
        this.owner.y = 1170
        Tween.to(this.owner,{x:723,y:901},1000)
    }
    
}